package com.qujia.station.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class SyncUserDto {

    @NotNull(message = "用户手机号不能为空")
    private String mobilePhone;

    @NotNull(message = "油企id不能为空")
    private String enterpriseId;

    @NotNull(message = "yunhuaUserId不能为空")
    private String yunhuaUserId;

    private Integer count;

    /**来源0微信1支付宝2其他 会员导入来源 4:后台导入，5:自主注册，yunhua；第三方平台同步*/
    private String userSource;

    @ApiModelProperty(value = "注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registeDate;

    @ApiModelProperty(value = "会员编码")
    private String memberCode;

}
